package com.clkj.zhonghui.pojo.stored;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date 2024-07-11 11:33:18
 * 用户储值或者消费详情--上级返利
 */
@ApiModel( value ="t_zh_userStoredDetail" )
@Table( name ="t_zh_userStoredDetail" )
public class UserStoredDetail  implements Serializable {

    @Id
   	@Column(name = "detail_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer detailId;

	/**
	 * 用户ID
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户ID")
	private Integer userId;

	/**
	 * 分享人ID
	 */
   	@Column(name = "share_id" )
	@ApiModelProperty( value="分享人ID")
	private Integer shareId;

	/**
	 * 储值金额或消费金额
	 */
   	@Column(name = "stored_money" )
	@ApiModelProperty( value="储值金额或消费金额")
	private Double storedMoney;

	/**
	 * 分享者得到的金额
	 */
   	@Column(name = "share_money" )
	@ApiModelProperty( value="分享者得到的金额")
	private Double shareMoney;

	/**
	 * 订单号
	 */
   	@Column(name = "order_number" )
	@ApiModelProperty( value="订单号")
	private String orderNumber;

	/**
	 * 0为用户储值 1为消费
	 */
   	@Column(name = "stored_flag" )
	@ApiModelProperty( value="0为用户储值 1为消费")
	private Integer storedFlag;

    /**
     * 时间
     */
    @Column(name = "date_time" )
    @ApiModelProperty( value="时间")
    private String dateTime;

  public Integer getDetailId() {
    return detailId;
  }

  public void setDetailId(Integer detailId) {
    this.detailId = detailId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getShareId() {
    return shareId;
  }

  public void setShareId(Integer shareId) {
    this.shareId = shareId;
  }


  public Double getStoredMoney() {
    return storedMoney;
  }

  public void setStoredMoney(Double storedMoney) {
    this.storedMoney = storedMoney;
  }


  public Double getShareMoney() {
    return shareMoney;
  }

  public void setShareMoney(Double shareMoney) {
    this.shareMoney = shareMoney;
  }


  public String getOrderNumber() {
    return orderNumber;
  }

  public void setOrderNumber(String orderNumber) {
    this.orderNumber = orderNumber;
  }


  public Integer getStoredFlag() {
    return storedFlag;
  }

  public void setStoredFlag(Integer storedFlag) {
    this.storedFlag = storedFlag;
  }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }
}
